package com.xm.service.impl;

import com.xm.mapper.FlowHistoryMapper;
import com.xm.pojo.FlowHistory;
import com.xm.service.FlowHistoryService;
import com.xm.util.BaseServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by wzl on 2018/4/16.
 */
@Service
public class FlowHistoryServiceImpl extends BaseServiceImpl<FlowHistory,FlowHistoryMapper> implements FlowHistoryService {
    @Resource(name="flowHistoryMapper")
    @Override
    public void setDao(FlowHistoryMapper mapper){this.mapper=mapper;}

    @Override
    public List<FlowHistory> selectSecondList(FlowHistory flowHistory) {
        return mapper.selectSecondList(flowHistory);
    }

    @Override
    public List<FlowHistory> selectFlowHistoryPage(FlowHistory flowHistory) {
        return mapper.selectFlowHistoryPage(flowHistory);
    }

    @Override
    public List<FlowHistory> selectFlowHistoryExcel(FlowHistory flowHistory) {
        return mapper.selectFlowHistoryExcel(flowHistory);
    }

    @Override
    public int queryFlowHistoryTotal(FlowHistory flowHistory) {
        return mapper.queryFlowHistoryTotal(flowHistory);
    }
}
